<!--
 * @Author: ChunLai
 * @Date: 2022-03-30 10:36:35
 * @LastEditTime: 2023-12-19 16:53:49
 * @Description: 告知列表页
 * 分类: 投被保人detail + 代理人agent + 重庆chongqing + 自保件询问selfie + 简易simple
 * @FilePath: \0.newInsure\src\views\healthy\index.vue
-->

<template>
  <div class="healthy-lists">
    <AutoNotice v-if="getTypeValue == 'auto'" />
    <Common v-else />
  </div>
</template>

<script>
import { mapGetters } from "vuex";
import Common from "./lists/Common";
import AutoNotice from "./lists/AutoNotice";

export default {
  name: "NoticeList",
  components: { Common, AutoNotice },
  data() {
    return {};
  },
  computed: {
    ...mapGetters({
      autoHealthyApi: "page/autoHealthyApi",
    }),
    getTypeValue() {
      let res = "";
      if (this.autoHealthyApi) {
        res = "auto";
      }
      return res;
    },
  },
  created() {},
  methods: {},
};
</script>

<style lang="less" scoped></style>
